package br.com.pyramides.facade;

import br.com.pyramides.dao.EventoDAO;
import br.com.pyramides.facade.iface.IEventoFacade;
import br.com.pyramides.model.Evento;
import java.util.List;

/**
 *
 * @author Lessandro
 */
public class EventoFacade extends GenericFacade<Evento, Long> implements IEventoFacade {

    public EventoFacade() {
        setGenericDAO(new EventoDAO());
    }
    
    @Override
    public List<Evento> listaEventos(long idUsuario) {
        return new EventoDAO().listaEventos(idUsuario);
    }
    
}
